package com.goods.business.service;

import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

public interface SupplierService {
    PageVO<SupplierVO> findSupplierList(Integer pageNum,
                                        Integer pageSize,
                                        String name,
                                        String address,
                                        String contact,
                                        SupplierVO supplierVO);

    //添加物资来源

    Boolean add(SupplierVO supplierVO);

    //删除物资来源

    Boolean delete(Integer id);

    /*编辑前回显数据*/

    SupplierVO edit(Integer id);

    /*进行数据编辑更新*/

    Boolean update(SupplierVO supplierVO, Integer id);
}
